package com.fenghongzhang.module_main.ui.search

/**
 *@author Wcj
 *@description 热门搜索数据
 *@date 2022/10/8 10:17
 */
data class SearchHotDataModel(
    val articleList: List<HotListItem>?,
    val postsList: List<HotListItem>?,
    val topicList: List<HotListItem>?,
    val informationList: List<HotListItem>?
)

data class HotListItem(
    val id: String,
    val name: String,
    var type: HotListType
)

//热门数据类型
sealed class HotListType {
    object TOPIC : HotListType()
    object POST : HotListType()
    object ARTICLE : HotListType()
    object HISTORY : HotListType()
    object INFORMATION : HotListType()
}

//1帖子Id、2:文章Id、3:指南Id、4：话题Id  6:资讯
data class SearchSuggestionModel(
    val socialId: String,
    val socialType: Int,
    val keyword: String
)

data class GuideTagModel(
    val guideTagId: String?,
    val name: String,
    val ifDefault: Int
)



